<!DOCTYPE html>
<html>
<head>
  <style>
    iframe {
      border: 0;
      width: 100%;
    }
  </style>
  <link rel="stylesheet" href="/WebIM/lib/bootstrap/dist/css/bootstrap.min.css">
  <link rel='stylesheet' href='/WebIM/css/style.css'>
</head>
<body>
<div class="main-header">
  <div class="topbar">
    <div class="container">
      <div class="row">
        <div class="col-xs-3 text-left server-tel bar-info-menu">
          <span><a href=""><i class="icon icon-7"></i>收藏本站</a></span> <i class="gap-1">|</i>
          <span>服务热线:</span><strong class="tel-number">400-168-6600</strong>
        </div>
        <div class="col-xs-9 text-right bar-info-menu">
                    <span class="top-welcome">
                    		<em class="top-welcome-name">zxzbxmd</em> 您好！欢迎光临！<a class="top-welcome-exit" href="/portal/logout">[退出]</a></span>
          <input type="hidden" id="userLogin" name="userLogin" value="zxzbszd">
          <i class="gap-1">|</i>
          <span class="nav-message"><a href=""><i class="icon icon-8"></i>消息中心</a></span>
          <i class="gap-1">|</i>
          <span><a href="/orders/ShoppingCart"><i class="icon icon-4"></i>购物车&nbsp;<span id="shopping-amount" class="shopping-amount" style="color: #e22e33;">0</span></a></span>
          <i class="gap-1">|</i>
          <span><a href="/agentBuy/selectAllShoppingList"><i class="icon icon-6"></i>我的询价单</a></span>
          <i class="gap-1">|</i>
          <span><a href="/orders/OrderList"><i class="icon icon-1"></i>我的订单</a></span>
          <i class="gap-1">|</i>
          <span><a href="/portal/personalData"><i class="icon icon-2"></i>会员中心<!-- <i class="icon icon-drapdown"></i> --></a></span>
          <i class="gap-1">|</i>
          <span><a href="/portal/helpCenter"><i class="icon icon-3"></i>帮助中心</a></span>
        </div>
      </div>
    </div>
  </div>
</div>

<iframe id="test" src="/WebIM/msgcenter"></iframe>
</body>
<script src="/WebIM/lib/jquery/dist/jquery.min.js"></script>
<!-- IE8及以下支持JSON -->
<!--[if lt IE 9]>
<script src="https://g.alicdn.com/aliww/ww/json/json.js" charset="utf-8"></script>
<![endif]-->
<script src="https://g.alicdn.com/aliww/h5.imsdk/2.1.5/scripts/yw/wsdk.js"></script>
<script src="/WebIM/js/webimpeer.js"></script>
<script src="/WebIM/js/msg.js"></script>
<script>
  $('#test').on('load', function () {
    console.log('加载结束', this.contentWindow.location);
  });
  function resizeIframe(w, h) {
    $('iframe.msgcenter').css({
      width: w,
      height: h
    });
  }

</script>
</html>
